// 自动生成模板Disease
package health

// Disease 结构体
type DiseaseList struct {
	ID       uint      `json:"id" form:"id" gorm:"column:id;comment:id;"`
	Name     string    `json:"name" form:"name" gorm:"column:bzlx_name;comment:病症类型名称;"`
	Diseases []Disease `json:"diseases" form:"diseases" gorm:"foreignKey:BzlxID;references:ID;comment:病症;"`
}

// TableName Disease 表名
func (DiseaseList) TableName() string {
	return "fd_bzlx"
}
